<?php
/**
 * common form arrays
 */

$countries = array(
   ''=> '',
'United States' => elgg_echo('resume:country:United States'),
'United Kingdom' => elgg_echo('resume:country:United Kingdom'),
'Afghanistan' => elgg_echo('resume:country:Afghanistan'),
'Albania' => elgg_echo('resume:country:Albania'),
'Algeria' => elgg_echo('resume:country:Algeria'),
'American Samoa' => elgg_echo('resume:country:American Samoa'),
'Andorra' => elgg_echo('resume:country:Andorra'),
'Angola' => elgg_echo('resume:country:Angola'),
'Anguilla' => elgg_echo('resume:country:Anguilla'),
'Antigua & Barbuda' => elgg_echo('resume:country:Antigua & Barbuda'),
'Argentina' => elgg_echo('resume:country:Argentina'),
'Armenia' => elgg_echo('resume:country:Armenia'),
'Aruba' => elgg_echo('resume:country:Aruba'),
'Australia' => elgg_echo('resume:country:Australia'),
'Austria' => elgg_echo('resume:country:Austria'),
'Azerbaijan' => elgg_echo('resume:country:Azerbaijan'),
'Bahamas' => elgg_echo('resume:country:Bahamas'),
'Bahrain' => elgg_echo('resume:country:Bahrain'),
'Bangladesh' => elgg_echo('resume:country:Bangladesh'),
'Barbados' => elgg_echo('resume:country:Barbados'),
'Belarus' => elgg_echo('resume:country:Belarus'),
'Belgium' => elgg_echo('resume:country:Belgium'),
'Belize' => elgg_echo('resume:country:Belize'),
'Benin' => elgg_echo('resume:country:Benin'),
'Bermuda' => elgg_echo('resume:country:Bermuda'),
'Bhutan' => elgg_echo('resume:country:Bhutan'),
'Bolivia' => elgg_echo('resume:country:Bolivia'),
'Bonaire' => elgg_echo('resume:country:Bonaire'),
'Bosnia & Herzegovina' => elgg_echo('resume:country:Bosnia & Herzegovina'),
'Botswana' => elgg_echo('resume:country:Botswana'),
'Brazil' => elgg_echo('resume:country:Brazil'),
'British Indian Ocean Ter' => elgg_echo('resume:country:British Indian Ocean Ter'),
'Brunei' => elgg_echo('resume:country:Brunei'),
'Bulgaria' => elgg_echo('resume:country:Bulgaria'),
'Burkina Faso' => elgg_echo('resume:country:Burkina Faso'),
'Burundi' => elgg_echo('resume:country:Burundi'),
'Cambodia' => elgg_echo('resume:country:Cambodia'),
'Cameroon' => elgg_echo('resume:country:Cameroon'),
'Canada' => elgg_echo('resume:country:Canada'),
'Cape Verde' => elgg_echo('resume:country:Cape Verde'),
'Cayman Islands' => elgg_echo('resume:country:Cayman Islands'),
'Central African Republic' => elgg_echo('resume:country:Central African Republic'),
'Chad' => elgg_echo('resume:country:Chad'),
'Channel Islands' => elgg_echo('resume:country:Channel Islands'),
'Chile' => elgg_echo('resume:country:Chile'),
'China' => elgg_echo('resume:country:China'),
'Christmas Island' => elgg_echo('resume:country:Christmas Island'),
'Colombia' => elgg_echo('resume:country:Colombia'),
'Comoros' => elgg_echo('resume:country:Comoros'),
'Congo' => elgg_echo('resume:country:Congo'),
'Cook Islands' => elgg_echo('resume:country:Cook Islands'),
'Costa Rica' => elgg_echo('resume:country:Costa Rica'),
'Cote DIvoire' => elgg_echo('resume:country:Cote DIvoire'),
'Croatia' => elgg_echo('resume:country:Croatia'),
'Cuba' => elgg_echo('resume:country:Cuba'),
'Curaco' => elgg_echo('resume:country:Curacao'),
'Cyprus' => elgg_echo('resume:country:Cyprus'),
'Czech Republic' => elgg_echo('resume:country:Czech Republic'),
'Denmark' => elgg_echo('resume:country:Denmark'),
'Djibouti' => elgg_echo('resume:country:Djibouti'),
'Dominica' => elgg_echo('resume:country:Dominica'),
'Dominican Republic' => elgg_echo('resume:country:Dominican Republic'),
'East Timor' => elgg_echo('resume:country:East Timor'),
'Ecuador' => elgg_echo('resume:country:Ecuador'),
'Egypt' => elgg_echo('resume:country:Egypt'),
'El Salvador' => elgg_echo('resume:country:El Salvador'),
'Equatorial Guinea' => elgg_echo('resume:country:Equatorial Guinea'),
'Eritrea' => elgg_echo('resume:country:Eritrea'),
'Estonia' => elgg_echo('resume:country:Estonia'),
'Ethiopia' => elgg_echo('resume:country:Ethiopia'),
'Falkland Islands' => elgg_echo('resume:country:Falkland Islands'),
'Faroe Islands' => elgg_echo('resume:country:Faroe Islands'),
'Fiji' => elgg_echo('resume:country:Fiji'),
'Finland' => elgg_echo('resume:country:Finland'),
'France' => elgg_echo('resume:country:France'),
'French Guiana' => elgg_echo('resume:country:French Guiana'),
'French Polynesia' => elgg_echo('resume:country:French Polynesia'),
'French Southern Ter' => elgg_echo('resume:country:French Southern Ter'),
'Gabon' => elgg_echo('resume:country:Gabon'),
'Gambia' => elgg_echo('resume:country:Gambia'),
'Georgia' => elgg_echo('resume:country:Georgia'),
'Germany' => elgg_echo('resume:country:Germany'),
'Ghana' => elgg_echo('resume:country:Ghana'),
'Gibraltar' => elgg_echo('resume:country:Gibraltar'),
'Greece' => elgg_echo('resume:country:Greece'),
'Greenland' => elgg_echo('resume:country:Greenland'),
'Grenada' => elgg_echo('resume:country:Grenada'),
'Guadeloupe' => elgg_echo('resume:country:Guadeloupe'),
'Guam' => elgg_echo('resume:country:Guam'),
'Guatemala' => elgg_echo('resume:country:Guatemala'),
'Guinea' => elgg_echo('resume:country:Guinea'),
'Guinea Bissau' => elgg_echo('resume:country:Guinea Bissau'),
'Guyana' => elgg_echo('resume:country:Guyana'),
'Haiti' => elgg_echo('resume:country:Haiti'),
'Honduras' => elgg_echo('resume:country:Honduras'),
'Hong Kong' => elgg_echo('resume:country:Hong Kong'),
'Hungary' => elgg_echo('resume:country:Hungary'),
'Iceland' => elgg_echo('resume:country:Iceland'),
'India' => elgg_echo('resume:country:India'),
'Indonesia' => elgg_echo('resume:country:Indonesia'),
'Iran' => elgg_echo('resume:country:Iran'),
'Iraq' => elgg_echo('resume:country:Iraq'),
'Ireland' => elgg_echo('resume:country:Ireland'),
'Isle of Man' => elgg_echo('resume:country:Isle of Man'),
'Israel' => elgg_echo('resume:country:Israel'),
'Italy' => elgg_echo('resume:country:Italy'),
'Jamaica' => elgg_echo('resume:country:Jamaica'),
'Japan' => elgg_echo('resume:country:Japan'),
'Jordan' => elgg_echo('resume:country:Jordan'),
'Kazakhstan' => elgg_echo('resume:country:Kazakhstan'),
'Kenya' => elgg_echo('resume:country:Kenya'),
'Kiribati' => elgg_echo('resume:country:Kiribati'),
'Korea North' => elgg_echo('resume:country:Korea North'),
'Korea' => elgg_echo('resume:country:Korea'),
'Kosovo' => elgg_echo('resume:country:Kosovo'),
'Kuwait' => elgg_echo('resume:country:Kuwait'),
'Kyrgyzstan' => elgg_echo('resume:country:Kyrgyzstan'),
'Laos' => elgg_echo('resume:country:Laos'),
'Latvia' => elgg_echo('resume:country:Latvia'),
'Lebanon' => elgg_echo('resume:country:Lebanon'),
'Lesotho' => elgg_echo('resume:country:Lesotho'),
'Liberia' => elgg_echo('resume:country:Liberia'),
'Libya' => elgg_echo('resume:country:Libya'),
'Liechtenstein' => elgg_echo('resume:country:Liechtenstein'),
'Lithuania' => elgg_echo('resume:country:Lithuania'),
'Luxembourg' => elgg_echo('resume:country:Luxembourg'),
'Macau' => elgg_echo('resume:country:Macau'),
'Macedonia' => elgg_echo('resume:country:Macedonia'),
'Madagascar' => elgg_echo('resume:country:Madagascar'),
'Malaysia' => elgg_echo('resume:country:Malaysia'),
'Malawi' => elgg_echo('resume:country:Malawi'),
'Maldives' => elgg_echo('resume:country:Maldives'),
'Mali' => elgg_echo('resume:country:Mali'),
'Malta' => elgg_echo('resume:country:Malta'),
'Marshall Islands' => elgg_echo('resume:country:Marshall Islands'),
'Martinique' => elgg_echo('resume:country:Martinique'),
'Mauritania' => elgg_echo('resume:country:Mauritania'),
'Mauritius' => elgg_echo('resume:country:Mauritius'),
'Mayotte' => elgg_echo('resume:country:Mayotte'),
'Mexico' => elgg_echo('resume:country:Mexico'),
'Midway Islands' => elgg_echo('resume:country:Midway Islands'),
'Moldova' => elgg_echo('resume:country:Moldova'),
'Monaco' => elgg_echo('resume:country:Monaco'),
'Mongolia' => elgg_echo('resume:country:Mongolia'),
'Montenegro' => elgg_echo('resume:country:Montenegro'),
'Montserrat' => elgg_echo('resume:country:Montserrat'),
'Morocco' => elgg_echo('resume:country:Morocco'),
'Mozambique' => elgg_echo('resume:country:Mozambique'),
'Myanmar' => elgg_echo('resume:country:Myanmar'),
'Namibia' => elgg_echo('resume:country:Namibia'),
'Nauru' => elgg_echo('resume:country:Nauru'),
'Nepal' => elgg_echo('resume:country:Nepal'),
'Netherland Antilles' => elgg_echo('resume:country:Netherland Antilles'),
'Netherlands' => elgg_echo('resume:country:Netherlands (Holland, Europe)'),
'New Caledonia' => elgg_echo('resume:country:New Caledonia'),
'New Zealand' => elgg_echo('resume:country:New Zealand'),
'Nicaragua' => elgg_echo('resume:country:Nicaragua'),
'Niger' => elgg_echo('resume:country:Niger'),
'Nigeria' => elgg_echo('resume:country:Nigeria'),
'Niue' => elgg_echo('resume:country:Niue'),
'Norfolk Island' => elgg_echo('resume:country:Norfolk Island'),
'Northern Mariana Is' => elgg_echo('resume:country:Northern Mariana Is'),
'Norway' => elgg_echo('resume:country:Norway'),
'Oman' => elgg_echo('resume:country:Oman'),
'Pakistan' => elgg_echo('resume:country:Pakistan'),
'Palau Island' => elgg_echo('resume:country:Palau Island'),
'Palestine' => elgg_echo('resume:country:Palestine'),
'Panama' => elgg_echo('resume:country:Panama'),
'Papua New Guinea' => elgg_echo('resume:country:Papua New Guinea'),
'Paraguay' => elgg_echo('resume:country:Paraguay'),
'Peru' => elgg_echo('resume:country:Peru'),
'Phillipines' => elgg_echo('resume:country:Philippines'),
'Pitcairn Island' => elgg_echo('resume:country:Pitcairn Island'),
'Poland' => elgg_echo('resume:country:Poland'),
'Portugal' => elgg_echo('resume:country:Portugal'),
'Puerto Rico' => elgg_echo('resume:country:Puerto Rico'),
'Qatar' => elgg_echo('resume:country:Qatar'),
'Reunion' => elgg_echo('resume:country:Reunion'),
'Romania' => elgg_echo('resume:country:Romania'),
'Russia' => elgg_echo('resume:country:Russia'),
'Rwanda' => elgg_echo('resume:country:Rwanda'),
'St Barthelemy' => elgg_echo('resume:country:St Barthelemy'),
'St Eustatius' => elgg_echo('resume:country:St Eustatius'),
'St Helena' => elgg_echo('resume:country:St Helena'),
'St Kitts-Nevis' => elgg_echo('resume:country:St Kitts-Nevis'),
'St Lucia' => elgg_echo('resume:country:St Lucia'),
'St Martin' => elgg_echo('resume:country:St Martin'),
'St Maarten' => elgg_echo('resume:country:St Maarten'),
'St Pierre & Miquelon' => elgg_echo('resume:country:St Pierre & Miquelon'),
'St Vincent & Grenadines' => elgg_echo('resume:country:St Vincent & Grenadines'),
'Samoa' => elgg_echo('resume:country:Samoa'),
'San Marino' => elgg_echo('resume:country:San Marino'),
'Sao Tome & Principe' => elgg_echo('resume:country:Sao Tome & Principe'),
'Saudi Arabia' => elgg_echo('resume:country:Saudi Arabia'),
'Senegal' => elgg_echo('resume:country:Senegal'),
'Serbia' => elgg_echo('resume:country:Serbia'),
'Seychelles' => elgg_echo('resume:country:Seychelles'),
'Sierra Leone' => elgg_echo('resume:country:Sierra Leone'),
'Singapore' => elgg_echo('resume:country:Singapore'),
'Slovakia' => elgg_echo('resume:country:Slovakia'),
'Slovenia' => elgg_echo('resume:country:Slovenia'),
'Solomon Islands' => elgg_echo('resume:country:Solomon Islands'),
'Somalia' => elgg_echo('resume:country:Somalia'),
'South Africa' => elgg_echo('resume:country:South Africa'),
'South Sudan' => elgg_echo('resume:country:South Sudan'),
'Spain' => elgg_echo('resume:country:Spain'),
'Sri Lanka' => elgg_echo('resume:country:Sri Lanka'),
'Sudan' => elgg_echo('resume:country:Sudan'),
'Suriname' => elgg_echo('resume:country:Suriname'),
'Swaziland' => elgg_echo('resume:country:Swaziland'),
'Sweden' => elgg_echo('resume:country:Sweden'),
'Switzerland' => elgg_echo('resume:country:Switzerland'),
'Syria' => elgg_echo('resume:country:Syria'),
'Taiwan' => elgg_echo('resume:country:Taiwan'),
'Tajikistan' => elgg_echo('resume:country:Tajikistan'),
'Tanzania' => elgg_echo('resume:country:Tanzania'),
'Thailand' => elgg_echo('resume:country:Thailand'),
'Togo' => elgg_echo('resume:country:Togo'),
'Tokelau' => elgg_echo('resume:country:Tokelau'),
'Tonga' => elgg_echo('resume:country:Tonga'),
'Trinidad & Tobago' => elgg_echo('resume:country:Trinidad & Tobago'),
'Tunisia' => elgg_echo('resume:country:Tunisia'),
'Turkey' => elgg_echo('resume:country:Turkey'),
'Turkmenistan' => elgg_echo('resume:country:Turkmenistan'),
'Turks & Caicos Is' => elgg_echo('resume:country:Turks & Caicos Is'),
'Tuvalu' => elgg_echo('resume:country:Tuvalu'),
'Uganda' => elgg_echo('resume:country:Uganda'),
'Ukraine' => elgg_echo('resume:country:Ukraine'),
'United Arab Emirates' => elgg_echo('resume:country:United Arab Emirates'),
'United Kingdom' => elgg_echo('resume:country:United Kingdom'),
'United States' => elgg_echo('resume:country:United States'),
'Uraguay' => elgg_echo('resume:country:Uruguay'),
'Uzbekistan' => elgg_echo('resume:country:Uzbekistan'),
'Vanuatu' => elgg_echo('resume:country:Vanuatu'),
'Vatican City State' => elgg_echo('resume:country:Vatican City State'),
'Venezuela' => elgg_echo('resume:country:Venezuela'),
'Vietnam' => elgg_echo('resume:country:Vietnam'),
'Virgin Islands (Brit)' => elgg_echo('resume:country:Virgin Islands (Brit)'),
'Virgin Islands (USA)' => elgg_echo('resume:country:Virgin Islands (USA)'),
'Wallis & Futana Is' => elgg_echo('resume:country:Wallis & Futuna Is'),
'Yemen' => elgg_echo('resume:country:Yemen'),
'Zaire' => elgg_echo('resume:country:Zaire'),
'Zambia' => elgg_echo('resume:country:Zambia'),
'Zimbabwe' => elgg_echo('resume:country:Zimbabwe'),
  );
  
$country = $vars['entity']->country;
if (empty($country )) $country_options = '<option disabled="disabled" selected="selected"></option>';
else $country_options = '<option value="' . $country . '" selected="selected">&raquo;&nbsp;' . elgg_echo('resume:country:' . $country) . '</option>';
foreach ($countries as $ch => $ct) { $country_options .= '<option value="' .$ch. '">' . $ct . '</option>'; }
